package com.yunfei.springbootgoods.mapper;

import com.yunfei.springbootgoods.dto.Page;
import com.yunfei.springbootgoods.entity.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper {

    void addGoods(Goods goods);

    void deleteGoods(Integer goodsId);

    void updateGoods(Goods goods);

    void updateStock(Integer goodsId);

    List<Goods> getGoodsList();


}
